-- GENERATED SPELL FOR [Scorpid Hunter] --


function spell0_5422(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14919,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5422', 0, 1)
end

function Sorts_5422(pUnit, Event)
local choix_sorts_5422 = math.random(0, 0)
if choix_sorts_5422 == 0 then
pUnit:RegisterEvent('spell0_5422', 1, 1)
end
end

function mob5422_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5422', math.random(1500, 3000), 1)
end

function mob5422_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5422_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5422_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5422, 1, 'mob5422_Action')
RegisterUnitEvent(5422, 2, 'mob5422_Leave')
RegisterUnitEvent(5422, 3, 'mob5422_Kill')
RegisterUnitEvent(5422, 4, 'mob5422_Die')
